﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PersonalWebSite.Models
{
    public class VideoItemViewModel
    {
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime Date { get; set; }
        public string Url { get; set; }
        public string EmbedUrl { get; set; }
        public string EmbedImageUrl { get; set; }

        #region Computed Properties
        /// <summary>
        /// Gets the computed embed object url image for this activity
        /// </summary>
        public string EmbedImageCssUrl
        {
            get
            {
                return string.Format("url('{0}')", EmbedImageUrl);
            }
        }
        #endregion
    }
}